/*
 * @Author: your name
 * @Date: 2021-01-04 09:50:30
 * @LastEditTime: 2021-01-28 22:55:37
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \yellow-member-admin\src\main.js
 */
import Vue from 'vue';
import App from './App.vue';
import router from './router';
// import ElementUI from 'element-ui';
import './assets/directives';
import api from '@/api/index'
import './utils/util';
import './assets/filter';
import store from './store'
import "./plugin/vant"//引入vant
import "./utils/rem.js"
// import "./plugin/element"//引入element
Vue.config.productionTip = false;
/* Vue.use(ElementUI, {
    size: 'small'
}); */
Vue.prototype.IMGPATH = process.env.NODE_ENV === 'pro' ? 'http://42.193.172.213:3000' :'http://42.193.172.213:3000' ;//服务器图片地址 //'http://localhost:3000'
Vue.prototype.$api = api
window.app = new Vue({
    store,
    router,
    render: h => h(App),
}).$mount('#app')


